{php $top_name=$cat.name;}{template "header.html"}

<div class="page-container">
    <div class="page-content-wrapper">
        <div class="page-content bg-b">
            <div class="bg-h">
                <div class="swiper-container">
                    <div class="swiper-wrapper">
                        {loop $images $i $t}
                        <div class="swiper-slide">
                            <img src="{dr_thumb($t.file, 450, 200)}" style="width:450px;height:200px" />
                        </div>
                        {/loop}
                    </div>
                    <div class="swiper-pagination"></div>
                </div>
                <link rel="stylesheet" href="{HOME_THEME_PATH}swiper/css/swiper.min.css">
                <script src="{HOME_THEME_PATH}swiper/js/swiper.min.js"></script>
                <script>
                    var swiper = new Swiper('.swiper-container', {
                        spaceBetween: 30,
                        autoplay: {
                            delay: 3500,
                            disableOnInteraction: false,
                        },
                        pagination: {
                            el: '.swiper-pagination',
                            clickable: true,
                        },
                    });
                </script>
                <div class="head-title">
                    <div class="news-title">
                        {$title}
                    </div>
                    <div class="news-title-btn">
                        <div class="left"><span class="source">{$author}</span><span class="r_time">{$updatetime}</span></div>
                        <div class="right"><span class="num2">{dr_show_hits($id)}</span>阅读<span class="line"></span><span class="num2">{$comments}</span>评论</div>
                    </div>
                </div>
            </div>
            <div class="container bg-h">
                <div class="list-table margin-top-20">
                    <p><span>所在区域</span> {dr_linkagepos('address', $area, ' > ', dr_search_url($params, 'area', '{linkage}'))} </p>
                    <p><span>小区名称</span> {$xiaoqumingcheng} </p>
                    <p><span>租金信息</span> {$zujin}/月，{$zujinleixing} </p>
                    <p><span>联系姓名</span> {$lianxiren}</p>
                    <p><span>联系电话</span> {$lianxidianhua}</p>
                    <p><span>详细地址</span> {$dizhi}</p>
                    <p><span>户型状况</span> {$shi}室，{$ting}厅，{$wei}卫，{$huxing}</p>
                    <p><span>房屋状况</span> 共{$zongceng}层，第{$suozaiceng}层，{$mianji}平米，{$zhuangxiu}，{$chaoxiang} </p>
                    <p><span>配置状况</span> {if $peitao}{implode('，', $peitao)}{/if}  </p>
                </div>
            </div>

            <div class="container bg-h">
                <div class="news-keyword-tags margin-top-10">
                    {dr_baidu_map($weizhi, 17, '100%', '250')}
                </div>
            </div>

            <div class="container bg-h">
                <div class="news-table margin-top-20">
                    <div class="title"><span>详细介绍</span></div>
                    <div class="content">
                        <div class="news-content">
                            {$content}
                        </div>
                        <div class="hide-news-content text-center">
                            <a>展开内容</a>
                        </div>
                    </div>
                </div>
            </div>

            <div class="container bg-h">
                <div class="news-keyword-tags margin-top-10">
                    {loop $keyword_list $name $url}
                    <label>
                        <a href="{$url}" target="_blank">{$name}</a>
                    </label>
                    {/loop}
                </div>
            </div>

            <div class="container bg-h">
                <div class="news-table">
                    <div class="title"><span>相关内容</span></div>
                    <ul class="list_normal list_fang">
                        <!--此标签用于调用相关文章，tag=关键词1,关键词2，多个关键词,分隔，num=显示条数，field=显示字段-->
                        {related id=$id catid=$catid tag=$tag num=6}
                        <li>
                            <a href="{$t.url}">
                                <div class="pic">
                                    <img src="{dr_thumb($t.thumb, 100, 100)}">
                                </div>
                                <div class="con">
                                    <h3>{$t.title}</h3>
                                    <p>{dr_linkagepos('address', $t.area, '')}</p>
                                    <span class="rooms">共{$t.zongceng}层，第{$t.suozaiceng}层</span>
                                    <span class="meters">{$t.zujinleixing}</span>
                                    <span class="price">{$t.zujin}元/月</span></div>
                            </a>
                        </li>
                        {/related}
                    </ul>
                    <div class="clear"></div>
                </div>
            </div>

            <div class="container bg-h">
                <div class=" news-table" id="comment-post-div">
                    <div class="title"><span>网友评论</span></div>
                    <div class="nr">
                        {dr_module_comment(MOD_DIR, $id)}
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
<div class="footFixed" id="foot_btn_fixed">
    <div class="reply_hd clearfix display1" id="reply_hd">
        <ul>
            <li><a href="{MODULE_URL}" class="share">回首页</a></li>
            <li><span class="num comment-post-div">{$comments}</span></li>
            <li onclick="dr_module_favorite('{MOD_DIR}', '{$id}', 0);"><span class="zan" id="favorite">收藏</span></li>
            <li><a href="javascript:;" id="openReply" class="btn comment-post-div"><i class="fa fa-edit"></i> 写评论</a></li>
        </ul>
    </div>
</div>
{template "footer.html", "/"}